home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga CD-ROM Collection
/
Amiga CD-ROM Collection - Auge 4000 and Cactus and Demo Util.iso
/
auge4000
/
46
/
lib
/
string
/
strcpy.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-06-20
|
276b
|
31 lines
/*
* STRCPY.C
*
* (c)Copyright 1990, Matthew Dillon, All Rights Reserved
*
*/
#include <string.h>
char *
strcpy(d, s)
char *d;
const char *s;
{
char c;
char *base = d;
c;
while(c = *s) {
*d = c;
++s;
++d;
}
*d = 0;
return(base);
}